package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社管排班管理对象 cm_manager_wktime
 * 
 * @author pop404NotFound
 * @date 2021-11-25
 */
public class CmManagerWktime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 排班日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date Date;

    /** 排班时 */
    @Excel(name = "排班时")
    private Integer time;

    /** 微信id */
    @Excel(name = "微信id")
    private String openId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(Date Date) 
    {
        this.Date = Date;
    }

    public Date getDate() 
    {
        return Date;
    }
    public void setTime(Integer time) 
    {
        this.time = time;
    }

    public Integer getTime() 
    {
        return time;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("Date", getDate())
            .append("time", getTime())
            .append("openId", getOpenId())
            .toString();
    }
}
